package com.chinasofti.demo08;

public class Demo {
    public static void main(String[] args) {
        cat c = new cat();
        c.eat();
        c.drink();
        dog d = new dog();
        d.eat();
        d.drink();
    }

}
